home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Aventura / batinnightmare.swf / scripts / frame_10 / PlaceObject2_198_69 / CLIPACTIONRECORD onClipEvent(enterFrame).as < prev    next >
Encoding:
Text File  |  2006-06-13  |  280 b   |  20 lines

  1. onClipEvent(enterFrame){
  2.    if(c == 0 && hit == 0)
  3.    {
  4.       _Y = _Y + 4;
  5.       score -= 1;
  6.       with(_root.my)
  7.       {
  8.          gotoAndPlay(1);
  9.       }
  10.       if(0 >= score)
  11.       {
  12.          score = 0;
  13.       }
  14.    }
  15.    if(250 < _Y)
  16.    {
  17.       _Y = 250;
  18.    }
  19. }
  20.